package com.symone.webcms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(scanBasePackages = {"com.symone.webcms.controller","com.symone.webcms.service"})
@EnableSwagger2
@ComponentScan
@MapperScan(value = "com.symone.webcms.mapper")
public class WebcmsApplication {

	public static void main(String[] args) {
		SpringApplication.run(WebcmsApplication.class, args);
	}

}
